package org.bud.excel.expot.bit;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bud.data.bit.ValueInfo;
import org.bud.data.bit.fmt.FmtType;

import java.util.function.Supplier;

/**
 * @author shaun
 * @date 2024/7/18
 * @instruction
 */
@Data
@NoArgsConstructor
public class ExcelValueInfo extends ValueInfo {
    @Builder
    private ExcelValueInfo(Object value,
                           FmtType fmtType,
                           Supplier<?> defaultValueSupplier,
                           Integer index,
                           String format){
        super(value,fmtType,defaultValueSupplier,index);
        this.format = format;
    }
    private String format;
}
